<? 
//echo "ingame_id er ".$ingame['ingame_id']."<br>";
//echo "stamdata id er ".$stamdata['id']."<br>";

?>


<div id="halv_right">


<?
if($type == "entitet" and $stamdata['type'] == "individ")
{
	//$this->load->view('canvas/tree');
	echo "<br>";
}
?>

<? 

$this->load->view('all/grupper');?>
	<br><?


if(!empty($primaer_billede))
{

	$this->load->view('all/billede');
	echo "<br>";	
}


if($type == "entitet")
{
		
		
	
	 $this->load->view('all/oplevelser');?>
		<br>
	<?
	if($stamdata['type']=='individ' )
	{
	
		$this->load->view('all/relationer');
		echo "<br>";
	}
}
if($type == "begivenhed")
{
		$this->load->view('all/deltagere');
		echo "<br>";
		
		if(in_array($stamdata['id'],$mine_rettigheder_ider) || $username == "gmp" )
		{
			$this->load->view('all/tilfoej_deltager');
			echo "<br>";
		}
}

?>	
	<br>

</div>



<div id="halv">

<? $this->load->view('all/basisinformation');?>
	<br>
<? $this->load->view('all/beskrivelser');?>
	<br>


</div>



